import request from '@/utils/request'
import { parseStrEmpty } from "@/utils/ruoyi";

// 境外自动测试配置新增、编辑
export function addAutoTestConfig(data) {
    return request({
      url: '/abroad/autoTestConfig/v1.0.0/addOrEdit',
      method: 'post',
      data: data
    })
  }
// 境外自动测试配置删除
export function deleteAutoTestConfig(id) {
    return request({
      url: '/abroad/autoTestConfig/v1.0.0/deleteConfig',
      method: 'get',
      params: { 
        id:parseStrEmpty(id)
      }
    })
  }
// 境外自动测试配置获取
export function getConfig() {
  return request({
    url: '/abroad/autoTestConfig/v1.0.0/getConfig',
    method: 'get',
  })
}
